package org.hong.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    private String number;
    private String identity;


    @Override
    public String toString() {
        return "\n"+"学生信息：" +"\n"+
                "姓名：" + username + '\n' +
                "学号：" + number + '\n' +
                "密码：" + password + '\n' +
                "身份：" + identity + '\n';
    }
}
